/**
 * 
 */
package com.fox.webapp.persistent;

import java.util.Date;
import java.util.List;

import org.bson.types.ObjectId;
import org.springframework.data.repository.PagingAndSortingRepository;

import com.fox.webapp.domain.Account;
import com.fox.webapp.domain.CommissionRecord;
import com.fox.webapp.persistent.custom.CommissionRecordRepositoryCustom;

/**
 * @author yockii
 *
 */
public interface CommissionRecordRepository extends
		PagingAndSortingRepository<CommissionRecord, ObjectId>, CommissionRecordRepositoryCustom {

	List<CommissionRecord> findByBrokerNameAndAccountNoAndTime(String brokerName, String accountNo, Date time);
	
}
